/**
 * 
 */
package tr.edu.ozyegin.ccrg.wekaPerformanceRun.tests;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

import tr.edu.ozyegin.ccrg.wekaPerformanceRun.NoTestState;
import tr.edu.ozyegin.ccrg.wekaPerformanceRun.TestRunState;

/**
 * @author im1076
 *
 */
public class NoTestStateTest {

	/**
	 * @throws java.lang.Exception
	 */
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	/**
	 * @throws java.lang.Exception
	 */
	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
	}

	/**
	 * @throws java.lang.Exception
	 */
	@After
	public void tearDown() throws Exception {
	}

	/**
	 * Test method for {@link tr.edu.ozyegin.ccrg.wekaPerformanceRun.NoTestState#getSingletonedNoTest()}.
	 */
	@Test
	public void testGetSingletonedNoTestState() {
		
		TestRunState testRunState = NoTestState.getSingletonedNoTestState();
		assertNotNull(testRunState);
		
	}

	/**
	 * Test method for {@link tr.edu.ozyegin.ccrg.wekaPerformanceRun.NoTestState#clone()}.
	 */
	@Test
	public void testClone() {
		
		NoTestState testRunState = NoTestState.getSingletonedNoTestState();

		try {
			testRunState.clone();
		} catch (CloneNotSupportedException e) {
			// TODO Auto-generated catch block
			assertNotNull(e);
			e.printStackTrace();
		}
		
	}
 

}
